package cn.itcast.domain;

import java.io.Serializable;
import java.sql.Date;

/**
 * @Date :17:31 2021/6/14
 * @Author :xuhe
 */
public class Weibo implements Serializable {

    private long id;	//微博编号
    private User user;		//用户
    private int tranum;		//转发次数
    private int comnum;		//被评论次数
    private int colnum;		//被收藏次数
    private int likeN;		//被赞数
    private Date pubTime;		//发布时间
    private String body;	//微博内容
    private String image;	//微博图片
    private String  userid;		//用户id
    private boolean b;

    public boolean isB() {
        return b;
    }

    public void setB(boolean b) {
        this.b = b;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getTranum() {
        return tranum;
    }

    public void setTranum(int tranum) {
        this.tranum = tranum;
    }

    public int getComnum() {
        return comnum;
    }

    public void setComnum(int comnum) {
        this.comnum = comnum;
    }

    public int getColnum() {
        return colnum;
    }

    public void setColnum(int colnum) {
        this.colnum = colnum;
    }

    public int getLikeN() {
        return likeN;
    }

    public void setLikeN(int likeN) {
        this.likeN = likeN;
    }

    public Date getPubTime() {
        return pubTime;
    }

    public void setPubTime(Date pubTime) {
        this.pubTime = pubTime;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }
}
